@charset "utf-8";

/**************************变量函数区*************************************/
$fontFamily: PingFangSC-Regular,
PingFang SC,
Microsoft YaHei,
Heiti SC,
tahoma,
arial,
Hiragino Sans GB,
"\5B8B\4F53",
sans-serif;

%wrap-after {
  display: block;
  content: '';
  position: absolute;
}

/**************************变量函数区*************************************/


/**************************样式重置***************************/

/*
* CSS Reset
* date: 2021年1月26日11:43:38
* add: housy
**/

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
  font-family: $fontFamily;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100vh;
}

body {
  font-family: $fontFamily;
  margin: 0;
  color: #333;
  height: 100vh;
  background-color: #FFF;
  -webkit-overflow-scrolling: touch;
}



/****** h5标签 样式 *********/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

a {
  background: transparent;
  text-decoration: none;
  display: inline-block;
  color: #333;

  &:active {
    outline: 0;
  }
}

b,
strong {
  font-weight: bold;
}

i,
em,
cite {
  font-style: normal;
}

img {
  border: 0;
  vertical-align: middle;
}

input,
textarea,
button {
  -webkit-appearance: none;
  font-family: $fontFamily;
}

textarea {
  resize: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  padding: 0;
}

td,
th {
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
form {
  margin: 0;
}

ul,
ol {
  list-style: none;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-padding-start: 0;
  margin: 0;
  padding: 0;
}

.cpointer {
  cursor: pointer;
}

.nodrop {
  cursor: no-drop;
}

.hide {
  display: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.txtc {
  text-align: center;
}

.txtr {
  text-align: right;
}

.clearfix,
ul {
  display: block;

  &:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}

* html .clearfix {
  height: 1%;
}

.not_select {
  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

code,
pre {
  font-family: "Roboto Mono", Monaco, courier, monospace;
  background-color: #f8f8f8;
  -webkit-font-smoothing: initial;
  -moz-osx-font-smoothing: initial;
}

code {
  color: #d63200;
  padding: 3px 5px;
  margin: 0 2px;
  border-radius: 2px;
  white-space: nowrap;
}

/* 主体内容公共样式 ------------------------------------------------------- */
.view-content {
  height: 100%;

  .videolist {
    padding: 0.5rem;

    li {
      a {
        font-size: 0.6rem;
      }
    }
  }

  .video-cover {
    text-align: center;
    height: 100%;
    position: relative;

    .title {
      padding-top: 1.5rem;
      font-size: 1rem;
      font-weight: bold;
      padding-bottom: 2.2rem;
    }

    .xtitle {
      color: #FFF;
      font-size: 0.6rem;
      display: inline-block;
      padding: 0.1rem 0.4rem;
      background-color: #006fd6;
    }

    .nextbg {
      position: absolute;
      z-index: 1;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 4rem;
    }

    .info-box {
      padding-top: 2rem;

      >div {
        font-size: 0.6rem;
        padding-top: 0.5rem;
      }

      .emlabel {
        display: inline-block;
        padding: 0 0.2rem;
        background-color: #F00;
        color: #FFF;
        height: 0.8rem;
        line-height: 0.8rem;
        vertical-align: middle;
      }
    }
  }

  .children {
    height: 100%;
    overflow: hidden;

    .question-box {
      height: 100%;
      position: relative;

      .close {
        position: absolute;
        display: block;
        z-index: 1;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 4rem;
      }

      >div {
        padding: 1.6rem 1.2rem 0;

        .question {
          font-size: 0.45rem;
          line-height: 0.7rem;

          em {
            display: inline-block;
            padding: 0 0.2rem;
            color: #FFF;
            font-size: 0.3rem;
            height: 0.5rem;
            line-height: 0.5rem;
            vertical-align: middle;
            margin-right: 0.1rem;
            border-radius: 0.15rem 0.15rem 0.15rem 0;
            background-color: #0fb1fc;
          }
        }

        .imgbox {

          img {
            display: block;
            width: 100%;
          }
        }

        .options {
          padding-top: 0.3rem;

          .option {
            margin-top: 0.2rem;
            padding: 0.1rem 0.2rem;
            line-height: 0.7rem;
            font-size: 0.45rem;
            border-radius: 0.2rem;

            i {
              display: inline-block;
              width: 0.7rem;
              height: 0.7rem;
              line-height: 0.7rem;
              border-radius: 0.7rem;
              text-align: center;
              vertical-align: middle;
              background-color: #FFF;
              margin-right: 0.3rem;
              box-shadow: 0 0 0.08rem rgba(0, 0, 0, 0.2);

              &.active {
                background-color: #0fb1fc;
                position: relative;
              }

              &.active::after {
                content: '';
                position: absolute;
                width: 0.36rem;
                height: 0.2rem;
                background: transparent;
                bottom: 0.24rem;
                right: 0.12rem;
                border: 0.06rem solid white;
                border-top: none;
                border-right: none;
                transform: rotate(-55deg);
                z-index: 9;
              }
            }
          }
        }

        .analysis {
          padding-top: 1.2rem;
          line-height: 0.7rem;
          font-size: 0.4rem;
        }
      }
    }
  }
}

/* 主体内容公共样式 ------------------------------------------------------- */